console.log(
    "" + 1,
    "" + "1",
    "" + 1 + 2,
    "" + 1 + "2",
    "" + "1" + 2,
    "" + "1" + "2",
    "" + (x += "foo")
);
